// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_HR_PERSON_POSITION_APPLICATION
// * CreateDate    : 2014-06-05 18:30:05
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:05
// * LastChanger   : 2014-06-05 18:30:05
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HrPersonPositionApplicationTable : TableInfo
    {
		public const string C_TableName = "HR_PERSON_POSITION_APPLICATION";
		
		public const string C_APPLICATION_ID = "APPLICATION_ID";
		public const string C_ORIGINAL_POSITION = "ORIGINAL_POSITION";
		public const string C_CHANGED_POSITION = "CHANGED_POSITION";
		public const string C_APPLICATION_DATE = "APPLICATION_DATE";
		public const string C_APPLICATION_PERSON = "APPLICATION_PERSON";
		public const string C_PROMOTION_PERSON = "PROMOTION_PERSON";
		public const string C_REASON = "REASON";
		public const string C_APPROVED_DATE = "APPROVED_DATE";
		public const string C_APPROVED_BY = "APPROVED_BY";
		public const string C_APPROVED_REMARK = "APPROVED_REMARK";
		public const string C_STATUS = "STATUS";
		
		public HrPersonPositionApplicationTable()
        {
            _tableName = "HR_PERSON_POSITION_APPLICATION";
        }
		
		protected static HrPersonPositionApplicationTable _current;
        public static HrPersonPositionApplicationTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HrPersonPositionApplicationTable();

            _current.Add(C_APPLICATION_ID, new ColumnInfo(C_APPLICATION_ID,"ApplicationId", true, typeof(string)));
            _current.Add(C_ORIGINAL_POSITION, new ColumnInfo(C_ORIGINAL_POSITION,"OriginalPosition", false, typeof(string)));
            _current.Add(C_CHANGED_POSITION, new ColumnInfo(C_CHANGED_POSITION,"ChangedPosition", false, typeof(string)));
            _current.Add(C_APPLICATION_DATE, new ColumnInfo(C_APPLICATION_DATE,"ApplicationDate", false, typeof(DateTime)));
            _current.Add(C_APPLICATION_PERSON, new ColumnInfo(C_APPLICATION_PERSON,"ApplicationPerson", false, typeof(string)));
            _current.Add(C_PROMOTION_PERSON, new ColumnInfo(C_PROMOTION_PERSON,"PromotionPerson", false, typeof(string)));
            _current.Add(C_REASON, new ColumnInfo(C_REASON,"Reason", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE,"ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY,"ApprovedBy", false, typeof(string)));
            _current.Add(C_APPROVED_REMARK, new ColumnInfo(C_APPROVED_REMARK,"ApprovedRemark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo APPLICATION_ID
        {
            get { return this[C_APPLICATION_ID]; }
        }
		
		public ColumnInfo ORIGINAL_POSITION
        {
            get { return this[C_ORIGINAL_POSITION]; }
        }
		
		public ColumnInfo CHANGED_POSITION
        {
            get { return this[C_CHANGED_POSITION]; }
        }
		
		public ColumnInfo APPLICATION_DATE
        {
            get { return this[C_APPLICATION_DATE]; }
        }
		
		public ColumnInfo APPLICATION_PERSON
        {
            get { return this[C_APPLICATION_PERSON]; }
        }
		
		public ColumnInfo PROMOTION_PERSON
        {
            get { return this[C_PROMOTION_PERSON]; }
        }
		
		public ColumnInfo REASON
        {
            get { return this[C_REASON]; }
        }
		
		public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }
		
		public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }
		
		public ColumnInfo APPROVED_REMARK
        {
            get { return this[C_APPROVED_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

